package com.example.demo.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName ThreadPoolProperties
 * @Author bsy
 * @Description TODO
 * @Date 2022/9/2 7:32
 * @Version 1.0
 */
@Data
@Component
@ConfigurationProperties("jump.threadpool")
public class ThreadPoolProperties {
    private int corePoolSize;
    private int maxPoolSize;
    private int keepAliveSeconds;
    private int queueCapacity;
}
